package protocol;

public class SqlResult {
	private String value;
	private SqlCommandType type;
	
	public SqlResult() {}
	
	public SqlResult(String value, SqlCommandType type){
		this.value = value;
		this.type = type;
	}
	
	@Override
	public String toString() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	public String getValue() {
		return value;
	}
	public void setType(SqlCommandType type) {
		this.type = type;
	}
	public SqlCommandType getType() {
		return type;
	}
}
